package com.niiwoo.civet.trade.service.dubbo.kaola;

import com.alibaba.dubbo.config.annotation.Service;
import com.niiwoo.civet.trade.service.koala.KaoLaRepayBackJobDubboService;
import com.niiwoo.civet.trade.service.local.kaola.KaoLaRepayBackJobDealService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @description 考拉理财还款回调--查询状态为处理中的还款请求，根据查询结果更新还款结果.
 * @author daizhiyue
 * @date 2017-1-12
 */
@Slf4j
@Service(version = "1.0.0")
public class KaoLaRepayBackJobDubboServiceImpl implements KaoLaRepayBackJobDubboService {


    @Autowired
    private KaoLaRepayBackJobDealService kaoLaRepayBackJobDealService;

    @Override
    public void dealRepayBackkFailJob() {
        kaoLaRepayBackJobDealService.dealRepayBackFailJob();
    }

    @Override
    public void dealRepayBackDealingForKFTJob() {
        kaoLaRepayBackJobDealService.dealRepayBackDealingForKFTJob();
    }

    @Override
    public void dealWithholdBackDealingForKFTJob(){
        kaoLaRepayBackJobDealService.dealWithholdSuccessBackDealingForKFTJob();
    }
}
